ButtonHandle = {}

local oldTimes
--检测两次点击间隔是否过短 如果间隔时间小于10毫秒，返回真,否则返回假 ,频率可以自己设定
function ButtonHandle:ClickFastHand()
	if oldTimes == nil then
		oldTimes = os.clock()
		return false
	else
		local curTime = os.clock()
		local tempTime = tonumber(curTime) - tonumber(oldTimes)
		oldTimes = curTime
		tempTime = tempTime * 1000
		if tonumber(tempTime) < 150 then
			return true
		else
			return false
		end
	end
end
